﻿namespace Birkelund.QueryStrings
{
    /// <summary>
    /// Enumeration to indicate how token parser should treat if an exception occurs during token parsing
    /// </summary>
    public enum ExceptionNotificationBehaviour
    {
        /// <summary>
        /// Suppress any exception. If ReadFailureAction is set this will still be called.
        /// </summary>
        Silent,

        /// <summary>
        /// Any exception which occurs will be thrown. Note: if method TryRead is used, no exceptions will be thrown
        /// </summary>
        ThrowException
    }
}
